package com.zzty.wja.serviceImpl;

import com.zzty.wja.entity.Clazz;
import com.zzty.wja.mapper.ClazzMapper;
import com.zzty.wja.service.ClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClazzServiceImpl implements ClazzService {
    @Autowired
    private ClazzMapper clazzMapper;

    @Override
    public List getAllClazz() {
        List<Clazz> clazzes=clazzMapper.getAllClazz();
        return clazzes;
    }
}
